<include file="__THEME__/header" />
<link href="../Public/css/space.css" rel="stylesheet" type="text/css" />
<div class="contents lbg B">
    <!-- 左边信息 begin-->
  <include file="../Public/left" />
    <div class="contents_min w787">
      <h3 class="tit_h3">{$uid|getUserName}{:L(group_0001)}</h3>
      <div class="list_cate_nav">
        <div class="tab">
          <ul>
            <li class="on" ><span><a href="{:U('home/Group/join')}">{$usex}{:L(group_0001)}</a></span></li>
          </ul>
        </div>
      </div>
      <div class="list_conter pl10">
<volist id="vo" name="data">	
		<div class="group_list">
        	<div class="L" style="width:100px;"><img class="lineC_img" width="80" height="80" src="{$vo.icon}"/></div>
            <div class="L" style="width:620px;">
           		<h3><a href="{:U('group/Core/index',array('gid'=>$vo['gid']))}" target="_blank">{$vo.name}</a> <eq name="vo['status']" value="1"><span class="pl5">( {:L(group_0003)}：{$vo.membernum} )</span><else />( <font color="red">{:L(group_0004)}</font> )</eq></h3>
                <p>{:L(group_0005)}：{$vo.category}</p>
                <p><a href="{:U('space/View/index',array('uid'=>$vo['uid']))}">{$vo.uid|getUserName}</a> | {:L(group_0006)}：{$vo.cTime|friendlyDate} </p>
                <p>{:L(group_0007)}：{$vo.description}</p>
            </div>
            <div class="R" style="width:70px;">
           	<a href="{:U('group/Core/index',array('gid'=>$vo['gid']))}" class="a" target="_blank">{:L(group_0008)}</a>
			<eq name="type" value="manage">
				<a href="{:U('group/CoreAdmin/index',array('gid'=>$vo['gid']))}" class="a" target="_blank">{:L(group_0009)}</a>
			</eq>
			</div>
        </div>
</volist>
          <div class="page mb30 alR mt10">
            {$html}
          </div>
      </div>
      <div class="C">
      </div>
    </div>
    <!--中间信息 begin-->
    <div class="C">
    </div>
  </div>
  <include file="__THEME__/footer" /> 
   <script>
	function joinGroup(gid,invitecode){
		var invite ='';
		if(invitecode){
			invite = '&code='+invitecode;
		}
		
		$.post("{:U('group/Member/join',array('gid'=>$gid))}",{gid:gid,invitecode:invitecode},function(txt){
			txt = eval('('+txt+')');
			if(txt.status){
				$.tbox.yes(txt.info);
				setTimeout('$.tbox.close()',1500);
				document.location.reload();
			}else{
				$.tbox.no(txt.info);
				setTimeout('$.tbox.close()',1500);
			}
		})
	}
</script> 